Use CRPEJob::VerifyDatabase to verify that the database connection(s) specified in a report is (are) valid.
BOOL VerifyDatabase ();